import request from '@/utils/request'

// 查询打印车列表
export function listDayincar(query) {
  return request({
    url: '/ziliao/dayincar/list',
    method: 'get',
    params: query
  })
}

// 查询打印车详细
export function getDayincar(id) {
  return request({
    url: '/ziliao/dayincar/' + id,
    method: 'get'
  })
}

// 新增打印车
export function addDayincar(data) {
  return request({
    url: '/ziliao/dayincar',
    method: 'post',
    data: data
  })
}

// 修改打印车
export function updateDayincar(data) {
  return request({
    url: '/ziliao/dayincar',
    method: 'put',
    data: data
  })
}

// 删除打印车
export function delDayincar(id) {
  return request({
    url: '/ziliao/dayincar/' + id,
    method: 'delete'
  })
}
